WPSpeed\Core\SimpleHtmlDom D

Total Complexity 164
Dependencies 2
Dependents 3
Total lines 1,234
Lines of code 581
Logical lines of code 374
Comment lines 429
Methods 36
Properties 23

Methods 36

Method Rating Maintainability Complexity Lines of code
read_tag()
D
21
58 185
parse_charset()
B
37 20 82
parse_attr()
A
49 9 28
restore_noise()
S
49 6 32
remove_noise()
S
52 6 23
clear()
S
56 6 20
__get()
S
61 6 14
__construct()
S
56 5 20
parse()
S
58 4 15
copy_until_char()
S
59 4 14
load()
S
52 3 24
search_noise()
S
65 4 9
prepare()
S
55 2 19
copy_skip()
S
65 3 8
load_file()
S
67 2 8
as_text_node()
S
65 2 8
skip()
S
73 2 4
copy_until()
S
67 2 7
save()
S
72 2 5
link_nodes()
S
69 2 7
lastChild()
S
82 1 3
getElementsByTagName()
S
80 1 3
getElementByTagName()
S
80 1 3
getElementsById()
S
79 1 3
getElementById()
S
79 1 3
createTextNode()
S
80 1 3
createElement()
S
78 1 3
dump()
S
82 1 3
firstChild()
S
82 1 3
childNodes()
S
81 1 3
__toString()
S
82 1 3
set_callback()
S
82 1 3
remove_callback()
S
82 1 3
find()
S
79 1 3
__destruct()
S
83 1 3
loadFile()
S
77 1 4